package com.laowang.project.system.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Auther laowang
 * @Date 2021/7/25
 * @Description
 */
@Data
public class AppUserSubOne   {



    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty(value = "手机号", required = false)
    private String phone;

    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码", required = false)
    private String verificationCode;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码", required = false)
    private String password;

    @NotNull(message = "修改密码的类型不能为空")
    @ApiModelProperty(value = "类型1 登录密码 ,2支付密码", required = false)
    private Integer type;

    @NotBlank(message = "重复密码不能为空")
    @ApiModelProperty(value = "重复密码", required = true)
    private String rePassword;


}
